package com.cmsz.shuang.booter.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.cmsz.shuang.booter.entity.Customer;

public interface CustomerRepository extends CrudRepository<Customer, Long> {
	
	List<Customer> findByLastName(String lastName);
	
	List<Customer> findAll();
	
	List<Customer> findByLastNameStartsWithIgnoreCase(String lastName);
}
